/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package podologia.beansDB;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 *
 * @author Hernan
 */
@Entity
@Table(name = "decubito")
@NamedQueries({@NamedQuery(name = "Decubito.findByIdDecubito", query = "SELECT d FROM Decubito d WHERE d.idDecubito = :idDecubito"), @NamedQuery(name = "Decubito.findByPulsoPedioIzq", query = "SELECT d FROM Decubito d WHERE d.pulsoPedioIzq = :pulsoPedioIzq"), @NamedQuery(name = "Decubito.findByPulsoTibialPosteriorIzq", query = "SELECT d FROM Decubito d WHERE d.pulsoTibialPosteriorIzq = :pulsoTibialPosteriorIzq"), @NamedQuery(name = "Decubito.findBySensibilidadIzq", query = "SELECT d FROM Decubito d WHERE d.sensibilidadIzq = :sensibilidadIzq"), @NamedQuery(name = "Decubito.findByTexturaIzq", query = "SELECT d FROM Decubito d WHERE d.texturaIzq = :texturaIzq"), @NamedQuery(name = "Decubito.findByColorIzq", query = "SELECT d FROM Decubito d WHERE d.colorIzq = :colorIzq"), @NamedQuery(name = "Decubito.findByTemperaturaIzq", query = "SELECT d FROM Decubito d WHERE d.temperaturaIzq = :temperaturaIzq"), @NamedQuery(name = "Decubito.findByOnicopatologiasDer", query = "SELECT d FROM Decubito d WHERE d.onicopatologiasDer = :onicopatologiasDer"), @NamedQuery(name = "Decubito.findByOnicopatologiasIzq", query = "SELECT d FROM Decubito d WHERE d.onicopatologiasIzq = :onicopatologiasIzq"), @NamedQuery(name = "Decubito.findByTumoresDer", query = "SELECT d FROM Decubito d WHERE d.tumoresDer = :tumoresDer"), @NamedQuery(name = "Decubito.findByTumoresIzq", query = "SELECT d FROM Decubito d WHERE d.tumoresIzq = :tumoresIzq"), @NamedQuery(name = "Decubito.findByPulsoPedioDer", query = "SELECT d FROM Decubito d WHERE d.pulsoPedioDer = :pulsoPedioDer"), @NamedQuery(name = "Decubito.findByPulsoTibialPosteriorDer", query = "SELECT d FROM Decubito d WHERE d.pulsoTibialPosteriorDer = :pulsoTibialPosteriorDer"), @NamedQuery(name = "Decubito.findBySensibilidadDer", query = "SELECT d FROM Decubito d WHERE d.sensibilidadDer = :sensibilidadDer"), @NamedQuery(name = "Decubito.findByTexturaDer", query = "SELECT d FROM Decubito d WHERE d.texturaDer = :texturaDer"), @NamedQuery(name = "Decubito.findByColorDer", query = "SELECT d FROM Decubito d WHERE d.colorDer = :colorDer"), @NamedQuery(name = "Decubito.findByTemperaturaDer", query = "SELECT d FROM Decubito d WHERE d.temperaturaDer = :temperaturaDer")})
public class Decubito implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(strategy=GenerationType.SEQUENCE)
    @Column(name = "idDecubito", nullable = false)
    private Integer idDecubito;
    @Column(name = "pulsoPedioIzq")
    private String pulsoPedioIzq;
    @Column(name = "pulsoTibialPosteriorIzq")
    private String pulsoTibialPosteriorIzq;
    @Column(name = "sensibilidadIzq")
    private String sensibilidadIzq;
    @Column(name = "texturaIzq")
    private String texturaIzq;
    @Column(name = "colorIzq")
    private String colorIzq;
    @Column(name = "temperaturaIzq")
    private String temperaturaIzq;
    @Column(name = "onicopatologiasDer")
    private String onicopatologiasDer;
    @Column(name = "onicopatologiasIzq")
    private String onicopatologiasIzq;
    @Column(name = "tumoresDer")
    private String tumoresDer;
    @Column(name = "tumoresIzq")
    private String tumoresIzq;
    @Lob
    @Column(name = "obersevaciones")
    private String obersevaciones;
    @Column(name = "pulsoPedioDer")
    private String pulsoPedioDer;
    @Column(name = "pulsoTibialPosteriorDer")
    private String pulsoTibialPosteriorDer;
    @Column(name = "sensibilidadDer")
    private String sensibilidadDer;
    @Column(name = "texturaDer")
    private String texturaDer;
    @Column(name = "colorDer")
    private String colorDer;
    @Column(name = "temperaturaDer")
    private String temperaturaDer;

    public Decubito() {
    }

    public Decubito(Integer idDecubito) {
        this.idDecubito = idDecubito;
    }

    public Integer getIdDecubito() {
        return idDecubito;
    }

    public void setIdDecubito(Integer idDecubito) {
        this.idDecubito = idDecubito;
    }

    public String getPulsoPedioIzq() {
        return pulsoPedioIzq;
    }

    public void setPulsoPedioIzq(String pulsoPedioIzq) {
        this.pulsoPedioIzq = pulsoPedioIzq;
    }

    public String getPulsoTibialPosteriorIzq() {
        return pulsoTibialPosteriorIzq;
    }

    public void setPulsoTibialPosteriorIzq(String pulsoTibialPosteriorIzq) {
        this.pulsoTibialPosteriorIzq = pulsoTibialPosteriorIzq;
    }

    public String getSensibilidadIzq() {
        return sensibilidadIzq;
    }

    public void setSensibilidadIzq(String sensibilidadIzq) {
        this.sensibilidadIzq = sensibilidadIzq;
    }

    public String getTexturaIzq() {
        return texturaIzq;
    }

    public void setTexturaIzq(String texturaIzq) {
        this.texturaIzq = texturaIzq;
    }

    public String getColorIzq() {
        return colorIzq;
    }

    public void setColorIzq(String colorIzq) {
        this.colorIzq = colorIzq;
    }

    public String getTemperaturaIzq() {
        return temperaturaIzq;
    }

    public void setTemperaturaIzq(String temperaturaIzq) {
        this.temperaturaIzq = temperaturaIzq;
    }

    public String getOnicopatologiasDer() {
        return onicopatologiasDer;
    }

    public void setOnicopatologiasDer(String onicopatologiasDer) {
        this.onicopatologiasDer = onicopatologiasDer;
    }

    public String getOnicopatologiasIzq() {
        return onicopatologiasIzq;
    }

    public void setOnicopatologiasIzq(String onicopatologiasIzq) {
        this.onicopatologiasIzq = onicopatologiasIzq;
    }

    public String getTumoresDer() {
        return tumoresDer;
    }

    public void setTumoresDer(String tumoresDer) {
        this.tumoresDer = tumoresDer;
    }

    public String getTumoresIzq() {
        return tumoresIzq;
    }

    public void setTumoresIzq(String tumoresIzq) {
        this.tumoresIzq = tumoresIzq;
    }

    public String getObersevaciones() {
        return obersevaciones;
    }

    public void setObersevaciones(String obersevaciones) {
        this.obersevaciones = obersevaciones;
    }

    public String getPulsoPedioDer() {
        return pulsoPedioDer;
    }

    public void setPulsoPedioDer(String pulsoPedioDer) {
        this.pulsoPedioDer = pulsoPedioDer;
    }

    public String getPulsoTibialPosteriorDer() {
        return pulsoTibialPosteriorDer;
    }

    public void setPulsoTibialPosteriorDer(String pulsoTibialPosteriorDer) {
        this.pulsoTibialPosteriorDer = pulsoTibialPosteriorDer;
    }

    public String getSensibilidadDer() {
        return sensibilidadDer;
    }

    public void setSensibilidadDer(String sensibilidadDer) {
        this.sensibilidadDer = sensibilidadDer;
    }

    public String getTexturaDer() {
        return texturaDer;
    }

    public void setTexturaDer(String texturaDer) {
        this.texturaDer = texturaDer;
    }

    public String getColorDer() {
        return colorDer;
    }

    public void setColorDer(String colorDer) {
        this.colorDer = colorDer;
    }

    public String getTemperaturaDer() {
        return temperaturaDer;
    }

    public void setTemperaturaDer(String temperaturaDer) {
        this.temperaturaDer = temperaturaDer;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (idDecubito != null ? idDecubito.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof Decubito)) {
            return false;
        }
        Decubito other = (Decubito) object;
        if ((this.idDecubito == null && other.idDecubito != null) || (this.idDecubito != null && !this.idDecubito.equals(other.idDecubito))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "podologia.beansDB.Decubito[idDecubito=" + idDecubito + "]";
    }

}
